<#include "../../common/commonattribute.html"/>
<script>

</script>
<div class="bjui-pageContent">

    <form action="${ctx}/frame/menu/save" id="familyMemberDialog" data-no-check="true" name="familyForm"
          data-toggle="validate" data-alertmsg="false" data-isrefsh="false" data-callback="fmDialogClose"
          data-rule="required">
        <div style="margin:25px auto 0; width:500px;">

                <table width="100%"  class="table table-condensed table-hover">
                    <tr>
                        <td class="right"><span style="color:red">*</span>菜单名称</td>
                        <td class="left">${entity.menuName!}</td>
                    </tr>

                    <tr>
                        <td class="right"><span style="color:red">*</span>菜单编码</td>
                        <td class="left">${entity.menuCode!}</td>
                    </tr>
                    <tr>
                        <td class="right"><span style="color:red">*</span>父菜单</td>
                        <td class="left">
                        <#if mainMenus??>
                            <#list mainMenus as mainMenu>
                                <#if mainMenu.id=entity.supperId>
                   ${mainMenu.menuName!}
                                </#if>
                            </#list>
                        </#if>
                        </td>
                    </tr>
                    <tr>
                        <td class="right"><span style="color:red">*</span>菜单图标</td>
                        <td class="left"><i class="${entity.iconClass!}"></i></td>
                    </tr>
                    <tr>
                        <td class="right"><span style="color:red">*</span>菜单地址</td>
                        <td class="left">${entity.url!}</td>
                    </tr>
                    <tr>
                        <td class="right"><span style="color:red">*</span>是否开启</td>
                        <td> <input type="radio" disabled readonly="true" name="isOpen" id="j_custom_sex1" data-toggle="icheck" value="true" data-label="开启&nbsp;&nbsp;"  <#if entity.isOpen??&&entity.isOpen=="true">checked</#if>>
                            <input type="radio" disabled name="isOpen" id="j_custom_sex2" data-toggle="icheck" value="false" data-label="关闭"  <#if entity.isOpen??&&entity.isOpen=="false">checked</#if> readonly="true"></td>

                    </tr>
                    <tr>
                    <td class="right"><span style="color:red">*</span>是否主菜单</td>
                    <td> <input type="radio" disabled  name="isMain"  data-toggle="icheck" readonly="true" value="true" data-label="是&nbsp;&nbsp;"  <#if entity.isMain??&&entity.isMain=="true">checked</#if>>
                        <input type="radio" disabled name="isMain" data-toggle="icheck" readonly="true" value="false" data-label="否"  <#if entity.isMain??&&entity.isMain=="false">checked</#if>></td>

                </tr>



                </table>

        </div>
    </form>

</div>
<div class="bjui-pageFooter">
    <ul>
        <li><button type="button" class="btn-close">关闭</button></li>
        <li><button type="submit" class="btn-default">保存</button></li>
    </ul>
</div>